# $Id: PKGBUILD 88690 2013-04-21 22:17:07Z heftig $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=gitg
pkgver=0.2.7
pkgrel=1
pkgdesc='A GIT repository viewer based on GTK+'
arch=('i686' 'x86_64')
url='https://git.gnome.org/browse/gitg/'
license=('GPL')
depends=('gtksourceview3' 'git' 'desktop-file-utils' 'gsettings-desktop-schemas' \
         'hicolor-icon-theme')
makedepends=('intltool')
options=('!libtool')
install=gitg.install
source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha1sums=('7b1428819666e4797d64dc94bb1624d5e7b75e6a')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
